<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>学生信息确认</title>
	{css href="__STATIC__/bootstrap-3.3.7/css/bootstrap.min.css" /}
	{js href="__JS__/jquery.3.3.1.min.js"}
	<script type="text/javascript">
		$(function(){
				$("#relation1").val({$info.relation1})
		});
	</script>
</head>
<body>

		<table class="table">
			<caption><h5><center><b>家长信息补录</b></center></h5></caption>
			<form action="{:url('parentsWrite')}" method="post">
				  <tbody>
				    <tr class="active">
				      <td><label for="relation1">家长1与本人关系</label></td>
				      <td>
						<select name="relation1" id="relation1">
							<option value=""{eq name="info.relation1" value="" } selected="selected"{/eq}  >--与本人的关系--</option>
							<option value="1"{eq name="info.relation1" value="1" } selected="selected"{/eq} >父亲</option>
							<option value="2"{eq name="info.relation1" value="2" } selected="selected"{/eq} >母亲</option>
							<option value="3"{eq name="info.relation1" value="3" } selected="selected"{/eq} >其他</option>
						</select>
				      </td>
				    </tr>
				    <tr class="success">
				      <td><label for="pname1">家长1姓名</label></td>
				      <td><input type="" name="pname1" id="pname1" value="{$info.pname1}"></td>
				    </tr>
				    <tr class="warning">
				      <td>家长1身份证号</td>
				      <td><input type="" name="pidnum1" id="pidnum1" value="{$info.pidnum1}"></td>
				    </tr>
				   <tr class="active">
				      <td><label for="relation2">家长2与本人关系</label></td>
				      <td>
						<select name="relation2" id="relation2">
							<option value=""{eq name="info.relation2" value="" } selected="selected"{/eq}  >--与本人的关系--</option>
							<option value="1"{eq name="info.relation2" value="1" } selected="selected"{/eq} >父亲</option>
							<option value="2"{eq name="info.relation2" value="2" } selected="selected"{/eq} >母亲</option>
							<option value="3"{eq name="info.relation2" value="3" } selected="selected"{/eq} >其他</option>
						</select>
				      </td>
				    </tr>
				   <tr class="success">
				      <td><label for="pname1">家长2姓名</label></td>
				      <td><input type="" name="pname2" id="pname2" value="{$info.pname2}"></td>
				    </tr>
				     <tr class="warning">
				      <td>家长2身份证号</td>
				      <td><input type="" name="pidnum2" id="pidnum2" value="{$info.pidnum2}"></td>
				    </tr>
				  </tbody>
				  </form>
				</table>
			</div>
		</div>
	</div>
	<p class="text-center"><a href="{:url('Stu/parentsWrite')}"><button type="   button" class="btn btn-primary">信息无误</button></a></p>
</body>
</html>